package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * ??Ʒ?
 * 
 * @author zhuanning
 * @email zhuanning@gmail.com
 * @date 2020-05-22 23:55:35
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    int insertPrimary(AttrEntity attrEntity);

    AttrEntity selectByPrimaryKey(Long attrId);

    void updateByPrimaryKey(AttrEntity attrEntity);
}
